#include "ClamPizza.h"

#include <iostream>

ClamPizza::ClamPizza(PizzaIngredientFactory *ingredientFactory){
    this->ingredientFactory = ingredientFactory;
}

void ClamPizza::prepare(){
    std::cout << "Preparing " << name;
    dough = ingredientFactory->createDough();
    sauce = ingredientFactory->createSauce();
    cheese = ingredientFactory->createCheese();
    clam = ingredientFactory->createClam();
    veggies = ingredientFactory->createVeggies();
    pepperoni = ingredientFactory->createPepperoni();
}